package util;

import java.io.Serializable;

import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

public class SessionTools implements Serializable {
	/**
	 */
	private static final long serialVersionUID = 1L;

	public static HttpSession getSession(){
		HttpSession session = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(true);
		return session;
	}
}
